CMP#.WIDTHT

Description

CMP#.WIDTHT sets the time duration of the output pulse generated by the setpointClosed Setpoint is the target value that an automatic control system, for example PID controller, will aim to reach. It is used when CMP#.WIDTHTYPE for the setpoint is set to 1.

It takes two command line arguments: the first specifies the setpoint, and the second specifies the time duration.

Examples

Usage

Code

The following commands set the time widths of channel 1 setpoint 5 to 3.5 ms and channel 2 setpoint 1 to 20 ms.

--> CMP1.WIDTHTYPE 5 1
--> CMP1.WIDTHT 5 3.5
--> CMP2.WIDTHTYPE 1 1
--> CMP2.WIDTHT 1 20

Context

For more information please refer to Compare.

Versions

Action Version Notes
Implemented 02-06-00-000  

General Information

Type

Read/Write

Units

ms

Range

0 to 1000.000

Default Value

0

Data Type

Float

See Also

CMP#.WIDTHTYPE

Stored in Non Volatile Memory

Yes

Variants Supported

All variants are supported.